$defaultWidth: 100%;
$defaultPadding20: 20px;
$defaultPadding10: 10px;
$swiperHeight: 460px;
$swiperWidth: 100vw;
$defaultColor: #ffb72f;
$priceColor: #e64656;
$defaultFontSize: 29px;
$defaultMultipleFontSize: 6px;
.flex {
  display: flex;
}
.transparentBg {
  background-color: transparent !important;
}
.common-nav {
  background-color: transparent !important;
}
.nav-top-center {
  position: fixed;
  top: 0;
  z-index: 1;
  transition: all linear 0.2s;
}

.youjiantou {
  display: inline-block;
  width: 32px;
  height: 32px;
}
.shop-logo {
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  margin-right: 11px;
}

.sp-reservation-resources-detail {
  background-color: whitesmoke;
  height: calc(100vh - env(safe-area-inset-bottom));
  overflow: hidden;
  overflow-y: scroll;
  font-size: $defaultFontSize;
  padding-bottom: calc(env(safe-area-inset-bottom) + 100px);
  .card {
    width: $defaultWidth;
    border-radius: 18px;
    padding: 32px 20px;
    background-color: white;
    margin: 20px auto;
  }
  .item {
    margin: $defaultPadding10 0;
    /* margin: 31rpx 0 26rpx; // UI图是这么多 */
  }
  .icon {
    width: 40px;
    height: 36px;
    padding-right: 8px;
  }

  .money {
    .newprice-left {
      font-size: 25rpx;
      font-family: Source Han Sans SC;
      font-weight: 500;
      color: #e64656;
    }

    .newprice-right {
      font-size: 40px;
      font-family: Source Han Sans SC;
      font-weight: bold;
      color: #e64656;
    }
  }
  &-info {
    margin: 0 !important;
    &-link {
      padding-left: $defaultPadding20;
    }
  }
//标签
  &-tags {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  &-tag {
    font-size: 24px;
    border: 1px solid rgba(19, 19, 19, 0.1);
    background-color: rgba(19, 19, 19, 0.02);
    color: black;
  //color: $defaultColor;
    margin-bottom: 20px;
    margin-right: 20px;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
  }
//商品标题
  &-title {
    font-weight: bold;
    font-size: 32px;
  }
//商品介绍
  &-decs {
    color: gray;
    display: block;
    line-height: 40px;
    font-size: calc($defaultFontSize);
  }
  &-tips {
    color: gray;
    font-size: calc($defaultFontSize);
  }
  &-parameter {
    width: $defaultWidth;
    border-radius: 18px;
    background-color: white;
    margin: 20px auto 13px auto;
    padding: 18px 20px;
    color: #888;
  }
  &-vouchers {
    background-color: #f8f8f8;
    border-radius: 8px;
    flex-wrap: wrap;
    height: 88px;
    overflow: hidden;
    margin-top: 10px;
    &-voucher {
      font-size: calc($defaultFontSize - 4px);
      padding: 5px 0;
      margin: 25px 0 25px 36px;
    }
    &-title {
      margin-left: 8px;
    }
    .icon {
      width: 35px;
      height: 35px;
    }
  }
  &-address {
    .callPhone {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    .shop-phone-button {
      justify-content: flex-end;
    }
    .address {
      margin-left: 10px;
      width: 430px;
      color: #999999;
    }
    .shopName {
      font-weight: bold;
      width: 100%;
      height: 1.125rem;
      line-height: 1.125rem;
      font-size: 30px;
      margin-left: 13px;
    }
  }
  &-close {
    width: 100vw;
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom) + 120px); /* 兼容 iOS >= 11.2 */
    background-color: #fee9b1;
    color: #ffb72f;
    padding: 19px 0;
    text-align: center;
  }

//详情介绍
  .detail-introduce {
    text-align:center;
    border-radius: 18px 18px 0 0;
    .detaile-image {
      width: 100%;
      display: block
    }
    .detaile-title {
      font-size: 32rpx;
      font-family: PingFang SC;
      font-weight: 700;
      color: #000;
      margin-bottom: 25rpx
    }
  }

//底部
  &-footer {
    width: 100vw;
    position: fixed;
  //bottom: constant(safe-area-inset-bottom); /* 兼容 iOS < 11.2 */
    bottom: calc(env(safe-area-inset-bottom)); /* 兼容 iOS >= 11.2 */
  //bottom: 0;
    margin: 0 !important;
    padding: 21px 28px;
    border-radius: 18px;
    background-color: white;
    &-op {
      flex: 1;
      font-size: calc($defaultFontSize - 4px);
      display: flex;
      align-items: center;
      .op-icon {
        width: 56px;
        height: 56px;
      }
    }
    .customer-btn::after {
      border: none;
    }
    .customer-btn {
      background-color: #fff;
      border: none;
      font-size: calc($defaultFontSize - 4px);
      font-family: Source Han Sans SC;
      font-weight: 400;
      color: rgba(53, 53, 53, 1);
      line-height: 1;
      padding-left: 0;
      padding-right: 58px;
    //margin-right: 30px;
    //margin-left: 28px;
      margin: 0;
      view {
        font-size: 24px;
        margin-top: 5px;
      }
    }
  }
//cell
  &-cell {
    display: flex;
    align-items: center;
    height: 66px;
    line-height: 66px;
    /* margin: 18px 0; */
    padding: 38px 20px 38px 0;
    &-label {
    //padding: 34px 20px 34px 0;
      font-size: $defaultFontSize;
      padding-right: 20px;
      color: #888;
    }
    &-content {
      width: 580px;
      color: gray;
    //flex: 1;
      font-size: $defaultFontSize;
      /* padding-top: 34rpx; */
      color: #000;
    }
    &-value {
      color: gray;
    }
  }

//商品弹出层
  &-goods-popup {
    border-top: 1px solid whitesmoke;
    .header {
      display: flex;
      .good-info {
        flex: 1;
        .cover {
          width: 120px;
          height: 120px;
        }
      }
      .close {
        justify-content: flex-end;
        &-icon {
          width: 50px;
          height: 50px;
        }
      }
    }
    .footer {
      &-submit {
        margin: 0 auto !important;
        width: 95% !important;
      }
    }
  }
//分享
  &-share {
    width: 86px;
  //height: 96px;
  //background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
  //display: flex;
  //align-items: center;
  //justify-content: center;
    flex-wrap: wrap;
    color: white;
    font-size: 24px;
  }
  /* 滚动相关样式 */
  .movable-area {
    pointer-events: none;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
  }
  .movable-view {
    pointer-events: auto;
    width: 86px;
    height: 115px;
    z-index: 999;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 19px 0 rgba(0, 0, 0, 0.24);
    border-radius: 13px;
    flex-wrap: wrap;
  }
}

.shop-banner {
  position: relative;
  .swiper {
    width: $swiperWidth;
    height: $swiperHeight;
  }
  .slide-image {
    width: $swiperWidth;
    height: $swiperHeight;
  }
  .swiper-indector {
    position: absolute;
    bottom: 5%;
    right: 1%;
    width: 80px;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    line-height: 40px;
    text-align: center;

    .indector-title {
      font-size: 28px;
      font-weight: 400;
      color: rgba(255, 255, 255, 1);
    }
  }

  .scroll-view {
    white-space: nowrap;
  }

  .header-item {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    .choose-is-card {
      width: 307px;
      height: 213px;
    }
  }
}
button {
  height: 80px;
  line-height: 80px;
}
